package com.simtop.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class RobotResult {
    private int id;
    private String name;        //用户名
    private int scene;          //场景布置得分
    private int wiring;         //设备布线得分
    private int programming;    //任务编程得分
    private int example;        //实验习题得分
    private int total;          //实验得分
    private String conclusion;  //实验结论
    private String time;           //实验时长
    private int star;           //评分
    private int userId;//用户编号

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;    //创建时间



    private int ioScore;//io分配分数
    private String ioTime;//io分配时长
    private int experimentScore;//任务编程分数
    private String experimentTime;//任务编程时长
    private int technologyScore;//工艺试验分数
    private String technologyTime;//工艺试验时长
    private int systemScore;//系统布局分数
    private String systemTime;//系统布局时长
    private int communicationScore;//通信布线分数
    private String  communicationTime;//通信布线时长
    private int principalIoScore;//主从IO分配分数
    private String principalIoTime;//主从IO分配时长
    private int cooperativeControlScore;//协同控制编程分数
    private String cooperativeControlTime;//协同控制编程时长
    private int collaborativeWeldingScore;//协同焊接实验分数
    private String collaborativeWeldingTime;//协同焊接实验时长
    private int steelWeldingScore;//钢梁焊接分数
    private String steelWeldingTime;//钢梁焊接时长
    private Integer commitScore;//实验评论分数
    private String evaluation;//教师评价

    public RobotResult() {
    }


    public RobotResult(int id, String name, int scene, int wiring, int programming, int example, int total, String conclusion, String time, int star, int userId, Date createTime, int ioScore, String ioTime, int experimentScore, String experimentTime, int technologyScore, String technologyTime, int systemScore, String systemTime, int communicationScore, String communicationTime, int principalIoScore, String principalIoTime, int cooperativeControlScore, String cooperativeControlTime, int collaborativeWeldingScore, String collaborativeWeldingTime, int steelWeldingScore, String steelWeldingTime, Integer commitScore, String evaluation) {
        this.id = id;
        this.name = name;
        this.scene = scene;
        this.wiring = wiring;
        this.programming = programming;
        this.example = example;
        this.total = total;
        this.conclusion = conclusion;
        this.time = time;
        this.star = star;
        this.userId = userId;
        this.createTime = createTime;
        this.ioScore = ioScore;
        this.ioTime = ioTime;
        this.experimentScore = experimentScore;
        this.experimentTime = experimentTime;
        this.technologyScore = technologyScore;
        this.technologyTime = technologyTime;
        this.systemScore = systemScore;
        this.systemTime = systemTime;
        this.communicationScore = communicationScore;
        this.communicationTime = communicationTime;
        this.principalIoScore = principalIoScore;
        this.principalIoTime = principalIoTime;
        this.cooperativeControlScore = cooperativeControlScore;
        this.cooperativeControlTime = cooperativeControlTime;
        this.collaborativeWeldingScore = collaborativeWeldingScore;
        this.collaborativeWeldingTime = collaborativeWeldingTime;
        this.steelWeldingScore = steelWeldingScore;
        this.steelWeldingTime = steelWeldingTime;
        this.commitScore = commitScore;
        this.evaluation = evaluation;
    }

    public String getEvaluation() {
        return evaluation;
    }

    public void setEvaluation(String evaluation) {
        this.evaluation = evaluation;
    }

    public Integer getCommitScore() {
        return commitScore;
    }

    public void setCommitScore(Integer commitScore) {
        this.commitScore = commitScore;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getScene() {
        return scene;
    }

    public void setScene(int scene) {
        this.scene = scene;
    }

    public int getWiring() {
        return wiring;
    }

    public void setWiring(int wiring) {
        this.wiring = wiring;
    }

    public int getProgramming() {
        return programming;
    }

    public void setProgramming(int programming) {
        this.programming = programming;
    }

    public int getExample() {
        return example;
    }

    public void setExample(int example) {
        this.example = example;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public String getConclusion() {
        return conclusion;
    }

    public void setConclusion(String conclusion) {
        this.conclusion = conclusion;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public int getStar() {
        return star;
    }

    public void setStar(int star) {
        this.star = star;
    }

    public int getIoScore() {
        return ioScore;
    }

    public void setIoScore(int ioScore) {
        this.ioScore = ioScore;
    }

    public String getIoTime() {
        return ioTime;
    }

    public void setIoTime(String ioTime) {
        this.ioTime = ioTime;
    }

    public int getExperimentScore() {
        return experimentScore;
    }

    public void setExperimentScore(int experimentScore) {
        this.experimentScore = experimentScore;
    }

    public String getExperimentTime() {
        return experimentTime;
    }

    public void setExperimentTime(String experimentTime) {
        this.experimentTime = experimentTime;
    }

    public int getTechnologyScore() {
        return technologyScore;
    }

    public void setTechnologyScore(int technologyScore) {
        this.technologyScore = technologyScore;
    }

    public String getTechnologyTime() {
        return technologyTime;
    }

    public void setTechnologyTime(String technologyTime) {
        this.technologyTime = technologyTime;
    }

    public int getSystemScore() {
        return systemScore;
    }

    public void setSystemScore(int systemScore) {
        this.systemScore = systemScore;
    }

    public String getSystemTime() {
        return systemTime;
    }

    public void setSystemTime(String systemTime) {
        this.systemTime = systemTime;
    }

    public int getCommunicationScore() {
        return communicationScore;
    }

    public void setCommunicationScore(int communicationScore) {
        this.communicationScore = communicationScore;
    }

    public String getCommunicationTime() {
        return communicationTime;
    }

    public void setCommunicationTime(String communicationTime) {
        this.communicationTime = communicationTime;
    }

    public int getPrincipalIoScore() {
        return principalIoScore;
    }

    public void setPrincipalIoScore(int principalIoScore) {
        this.principalIoScore = principalIoScore;
    }

    public String getPrincipalIoTime() {
        return principalIoTime;
    }

    public void setPrincipalIoTime(String principalIoTime) {
        this.principalIoTime = principalIoTime;
    }

    public int getCooperativeControlScore() {
        return cooperativeControlScore;
    }

    public void setCooperativeControlScore(int cooperativeControlScore) {
        this.cooperativeControlScore = cooperativeControlScore;
    }

    public String getCooperativeControlTime() {
        return cooperativeControlTime;
    }

    public void setCooperativeControlTime(String cooperativeControlTime) {
        this.cooperativeControlTime = cooperativeControlTime;
    }

    public int getCollaborativeWeldingScore() {
        return collaborativeWeldingScore;
    }

    public void setCollaborativeWeldingScore(int collaborativeWeldingScore) {
        this.collaborativeWeldingScore = collaborativeWeldingScore;
    }

    public String getCollaborativeWeldingTime() {
        return collaborativeWeldingTime;
    }

    public void setCollaborativeWeldingTime(String collaborativeWeldingTime) {
        this.collaborativeWeldingTime = collaborativeWeldingTime;
    }

    public int getSteelWeldingScore() {
        return steelWeldingScore;
    }

    public void setSteelWeldingScore(int steelWeldingScore) {
        this.steelWeldingScore = steelWeldingScore;
    }

    public String getSteelWeldingTime() {
        return steelWeldingTime;
    }

    public void setSteelWeldingTime(String steelWeldingTime) {
        this.steelWeldingTime = steelWeldingTime;
    }

    @Override
    public String toString() {
        return "Robot1{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", scene=" + scene +
                ", wiring=" + wiring +
                ", programming=" + programming +
                ", example=" + example +
                ", total=" + total +
                ", conclusion='" + conclusion + '\'' +
                ", time=" + time +
                ", star=" + star +
                ", ioScore=" + ioScore +
                ", ioTime=" + ioTime +
                ", experimentScore=" + experimentScore +
                ", experimentTime=" + experimentTime +
                ", technologyScore=" + technologyScore +
                ", technologyTime=" + technologyTime +
                ", systemScore=" + systemScore +
                ", systemTime=" + systemTime +
                ", communicationScore=" + communicationScore +
                ", communicationTime=" + communicationTime +
                ", principalIoScore=" + principalIoScore +
                ", principalIoTime=" + principalIoTime +
                ", cooperativeControlScore=" + cooperativeControlScore +
                ", cooperativeControlTime=" + cooperativeControlTime +
                ", collaborativeWeldingScore=" + collaborativeWeldingScore +
                ", collaborativeWeldingTime=" + collaborativeWeldingTime +
                ", steelWeldingScore=" + steelWeldingScore +
                ", steelWeldingTime=" + steelWeldingTime +
                '}';
    }
}
